//
//  BL_MomentCell.h
//  Byelone
//
//  Created by Qi Liu on 2021/2/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^MomentCell_LikeBlock)(BLMomentModel * model,NSIndexPath * curIndex ,UIButton * likeBtn);
typedef void(^MomentCell_CommentBlock)(BLMomentModel * model,NSIndexPath * curIndex);
typedef void(^MomentCell_playVBlock)(BLMomentModel * model,NSIndexPath * curIndex);
typedef void(^MomentCell_deleteBlock)(BLMomentModel * model,NSIndexPath * curIndex);


@interface BL_MomentCell : UITableViewCell

@property(nonatomic,strong) BLMomentModel * commentModel;
@property(nonatomic,copy)MomentCell_LikeBlock  likeBlock;
@property(nonatomic,copy)MomentCell_CommentBlock  commentBlock;
@property(nonatomic,copy)MomentCell_playVBlock  playBlock;
@property(nonatomic,copy)MomentCell_deleteBlock  deleteBlock;

@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
@property(nonatomic,strong) NSIndexPath * curIndex;

-(void)stopAnimationGif;
-(void)startAnimationGif;


@end

NS_ASSUME_NONNULL_END
